package month3.day30;

public abstract class Car {
    private String chepai;
    private String pingpai;
    private double money;
    private String zuangtai="当前可租";

    public Car(String chepai, String pingpai, double money) {
        this.chepai = chepai;
        this.pingpai = pingpai;
        this.money = money;
    }
    public abstract double zujin(int day);

    public String getChepai() {
        return chepai;
    }

    public void setChepai(String chepai) {
        this.chepai = chepai;
    }

    public String getPingpai() {
        return pingpai;
    }

    public void setPingpai(String pingpai) {
        this.pingpai = pingpai;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getZuangtai() {
        return zuangtai;
    }

    public void setZuangtai(String zuangtai) {
        this.zuangtai = zuangtai;
    }
}
